//
//  MainMenuViewController.h
//  Politics
//
//  Created by Hai Nguyen on 7/5/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GameDataParser.h";

@protocol MainMenuViewControllerDelegate;

@interface MainMenuViewController : UIViewController <GameDataParserDelegate>
{
	id <MainMenuViewControllerDelegate> viewDelegate;
	
	UIButton *newGameButton;
	UIButton *helpButton;
	UIButton *statisButton;
	UIButton *settingButton;
	UIButton *logoutButton;
	UIButton *shareFBButton;
	IBOutlet UIView *loadingView;
	int indexAnimation;
}

@property (nonatomic, retain) IBOutlet UIButton *shareFBButton;
@property (nonatomic, retain) IBOutlet UIButton *newGameButton;
@property (nonatomic, retain) IBOutlet UIButton *helpButton;
@property (nonatomic, retain) IBOutlet UIButton *statisButton;
@property (nonatomic, retain) IBOutlet UIButton *settingButton;
@property (nonatomic, retain) IBOutlet UIButton *logoutButton;

@property (nonatomic, assign) id <MainMenuViewControllerDelegate> viewDelegate;

- (IBAction)buttonPressed:(id) sender;
- (void)appearanceAnimation;

@end


@protocol MainMenuViewControllerDelegate

- (void)logout;

@end